﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RealEstateAgencyDAL;

namespace RealEstateBrowser.ViewModels
{
    public class ExtraViewModel : ViewModelBase
    {
        private Extra extra;
        private bool isChecked;

        public ExtraViewModel()
        {
        }

        public bool IsChecked
        {
            get
            {
                return isChecked;
            }
            set
            {
                if (this.isChecked != value)
                {
                    isChecked = value;
                    OnPropertyChanged("IsChecked");
                }
            }
        }

        public Extra Extra
        {
            get
            {
                return extra;
            }
            set
            {
                if (this.extra != value)
                {
                    extra = value;
                    OnPropertyChanged("Extra");
                }
            }
        }
    }
}